/**
 * Main program
 * @author hoang.pt
 * @version $Id: ThreadTest.java 101 2010-08-28 15:50:21Z phantichhoang $
 */

package snippet.theory1;

/**
 * Min executable
 * @author hoang.pt
 */
public class ThreadTest {

	/**
	 * Main executable program
	 * @param String args
	 */
	public static void main(String[] args) {
		//init Thread 1
		MyThread t1 = new MyThread();
		t1.start();
		
		//init Thread 2 using interface
		MyRunnable r = new MyRunnable();
		Thread t2 = new Thread(r, "Thread 2");
		t2.start();
		
	}
	
}
